package com.vegetable.modules.form;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 分类信息查询参数封装对象
 * </p>
 * @author Administrator
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CategoryQuery {

    private String categoryType;

    private Integer isHot;

    @NotNull(message = "id不能为空")
    private Long id;
}